Package com.cisco.pt.ipc.sim.impl
Class CHAPProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.CHAPProcessImpl
- All Implemented Interfaces:
IPCObject,CHAPProcess,Process
Information provided by the PKI file:
\class ChapProcess
\brief ChapProcess is the process that manipulates the protocol CHAP.
\example network().getDevice("Router0").getProcess("ChapProcess")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionCHAPProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Information provided by the PKI file:voidsetPassword(String password) Information provided by the PKI file:voidsetUserName(String username) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
CHAPProcessImpl
public CHAPProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setPassword
Information provided by the PKI file:
\brief Sets the CHAP password. \param string, the CHAP password.- Specified by:
setPasswordin interfaceCHAPProcess- Parameters:
password- Takes in a parameter of password
-
setUserName
Information provided by the PKI file:
\brief Sets the CHAP username. \param string, the CHAP username.- Specified by:
setUserNamein interfaceCHAPProcess- Parameters:
username- Takes in a parameter of username
-
getUserName
Information provided by the PKI file:
\brief Returns the CHAP username. \return string, the CHAP username.- Specified by:
getUserNamein interfaceCHAPProcess- Returns:
- String Returns a String
-
getPassword
Information provided by the PKI file:
\brief Returns the CHAP password. \return string, the CHAP password.- Specified by:
getPasswordin interfaceCHAPProcess- Returns:
- String Returns a String
-